<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>show6</title>
</head>
<body>
    <ul th:each="user,stat : ${users}">
        stat:<span th:text="${stat.count}"></span>
        name:<span th:text="${user.name}">name</span><br/>
        age:<span th:text="${user.age}">age</span>
    </ul>
</body>
</html>